package com.healthcloud.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.healthcloud.dao.InstrumentInstallDao;
import com.healthcloud.entity.InstrumentInstallEntity;
import com.healthcloud.service.InstrumentInstallService;
import com.healthcloud.utils.PageParam;
import org.springframework.transaction.annotation.Transactional;



@Service("instrumentInstallService")
@Transactional
public class InstrumentInstallServiceImpl implements InstrumentInstallService {
	@Autowired
	private InstrumentInstallDao instrumentInstallDao;
	
	@Override
	public InstrumentInstallEntity queryObject(Integer id){
		return instrumentInstallDao.queryObject(id);
	}
	
	@Override
	public List<InstrumentInstallEntity> queryList(InstrumentInstallEntity bean, PageParam pageParam){
		return instrumentInstallDao.queryList(bean, pageParam);
	}
	
	@Override
	public int queryTotal(InstrumentInstallEntity bean){
		return instrumentInstallDao.queryTotal(bean);
	}
	
	@Override
	public void save(InstrumentInstallEntity instrumentInstall){
		instrumentInstallDao.save(instrumentInstall);
	}
	
	@Override
	public void update(InstrumentInstallEntity instrumentInstall){
		instrumentInstallDao.update(instrumentInstall);
	}
	
	@Override
	public void delete(Integer id){
		instrumentInstallDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		instrumentInstallDao.deleteBatch(ids);
	}

	@Override
	public List<InstrumentInstallEntity> queryByDoctorId(Long id) {
		return instrumentInstallDao.queryByDoctorId(id);
	}

}
